A Linear Language with Locations
نویسندگان
چکیده
We present a simple, but expressive type system that supports strong updates—updating a memory cell to hold values of unrelated types at different points in time. Our formulation is based upon a standard linear lambda calculus and, as a result, enjoys a simple semantic interpretation for types that is closely related to models for spatial logics. The typing interpretation is strong enough that, in spite of the fact that our core programming language supports shared, mutable references and cyclic graphs, every well-typed program terminates. We then consider extensions needed to model ML-style references, where the capability to access a reference cell is unrestricted, but strong updates are disallowed. Our extensions include a thaw primitive for re-gaining the capability to perform strong updates on unrestricted references. The thaw primitive is closely related to other mechanisms that support strong updates, such as CQUAL’s restrict.
منابع مشابه
Robust Quadratic Assignment Problem with Uncertain Locations
We consider a generalization of the classical quadratic assignment problem, where coordinates of locations are uncertain and only upper and lower bounds are known for each coordinate. We develop a mixed integer linear programming model as a robust counterpart of the proposed uncertain model. A key challenge is that, since the uncertain model involves nonlinear objective function of the ...
متن کاملCollocational Processing in Two Languages: A psycholinguistic comparison of monolinguals and bilinguals
With the renewed interest in the field of second language learning for the knowledge of collocating words, research findings in favour of holistic processing of formulaic language could support the idea that these language units facilitate efficient language processing. This study investigated the difference between processing of a first language (L1) and a second language (L2) of congruent col...
متن کاملGreen Space Suitability Analysis Using Evolutionary Algorithm and Weighted Linear Combination (WLC) Method
With current new urban developments, no balance can be found between green spaces and open areas present within urban networks and natural land patterns since urban networks are dominating ecological networks. Accordingly, one of the major tasks of urban and regional planners is the optimal land use allocation to urban green spaces. Therefore, to achieve this goal in this research, locations of...
متن کاملتجزیه پایداری ژنوتیپهای جو در آزمایشهای یکنواخت سراسری منطقه سرد
To determine yield stability and to evaluate genotype interaction with environment interaction, 18 genotype of barley (Hordeum vulgare L.) and a control group were evaluated in a randomized complete block design with 4 replications in 3 successive years (1997-2000) at 10 research stations. Simple and combined analysis of variance revealed significant genetic differences between yield genotypes ...
متن کاملتجزیه پایداری ژنوتیپهای جو در آزمایشهای یکنواخت سراسری منطقه سرد
To determine yield stability and to evaluate genotype interaction with environment interaction, 18 genotype of barley (Hordeum vulgare L.) and a control group were evaluated in a randomized complete block design with 4 replications in 3 successive years (1997-2000) at 10 research stations. Simple and combined analysis of variance revealed significant genetic differences between yield genotypes ...
متن کاملMultiple Linear Regression Study of 2,4-Disubstituted 1,5-Benzodiazepine as Potential Antiinfectives
This paper describes 3D-QSAR analysis and biological evaluation of 1,5-benzodiazepine analogues. Benzodiazepine nucleus with its simple...
متن کامل